From: Peng Fan Date: Fri, 2 Sep 2016 09:41:41 +0000 (+0800) Subject: xen/arm: smpboot: drop unneeded code when identifying cpuinfo X-Git-Tag: archive/raspbian/4.8.0-1+rpi1~1^2~403 X-Git-Url: https://dgit.raspbian.org/%22http:/www.example.com/cgi/%22https://%22%22/%22http:/www.example.com/cgi/%22https:/%22%22?a=commitdiff_plain;h=3ab5fb9a9eeb2b610d5d74419e0b1ffaf18484f2;p=xen.git xen/arm: smpboot: drop unneeded code when identifying cpuinfo The current_cpu_data indicates the cpuinfo for the current cpu. There is no need to fill the current_cpu_data from boot_cpu_data, because the following call to identify_cpu will override it. Signed-off-by: Peng Fan Acked-by: Julien Grall Acked-by: Stefano Stabellini --- diff --git a/xen/arch/arm/smpboot.c b/xen/arch/arm/smpboot.c index d56b91d519..90ad1d0347 100644 --- a/xen/arch/arm/smpboot.c +++ b/xen/arch/arm/smpboot.c @@ -288,7 +288,6 @@ void start_secondary(unsigned long boot_phys_offset, set_processor_id(cpuid); - current_cpu_data = boot_cpu_data; identify_cpu(¤t_cpu_data); init_traps();